package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 出库计划货物信息对象 wms_delivery_plan_detail
 *
 * @author ruoyi
 * @date 2024-01-13
 */
@Data
public class WmsDeliveryPlanDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 出库单号 */
    @Excel(name = "出库单号")
    private String deliveryNo;

    /** 批次号 */
    @Excel(name = "批次号")
    private String lotNo;

    /** 货物id */
    @Excel(name = "货物id")
    private Long cargoId;

    /** 编码 */
    @Excel(name = "编码")
    private String cargoSn;

    /** 名称 */
    @Excel(name = "名称")
    private String cargoName;

    /** 重量 */
    @Excel(name = "重量")
    private BigDecimal cargoWeight;

    /** 体积 */
    @Excel(name = "体积")
    private BigDecimal cargoVolume;

    /** 单位 */
    @Excel(name = "单位")
    private String cargoUnit;

    /** 规格 */
    @Excel(name = "规格")
    private String cargoSpec;

    /** 尺码 */
    @Excel(name = "尺码")
    private String cargoSize;

    /** 计划数量 */
    @Excel(name = "计划数量")
    private Long plannedNum;

    /** 供应商编码 */
    @Excel(name = "供应商")
    private String supplierSn;

    /** 供应商名称 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private String supplierName;

    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private Long num;

    private String deliveryRecordNo;
}
